package com.abocode.aichat.server.stanza;

import com.abocode.aichat.server.context.ServerContextName;
import com.abocode.aichat.server.entity.Entity;
import com.abocode.aichat.server.entity.Entity;

import java.util.Map;

/**
 * Created by franky-6.
 */
public interface Stanza extends ServerContextName {
     String namespace();

     String id();

     String module();

     String token();

     Map body();

     void validate();

     Entity findTo();

     Entity findFrom();

     void setModule(String module);

}
